]> dgit.raspbian.org Git - gnome-shell.git/commit
unlockDialog: only emit 'failed' on reset after failure/cancel
authorRay Strode <rstrode@redhat.com>
Sun, 28 Jul 2013 20:06:04 +0000 (16:06 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 19 Aug 2013 01:14:35 +0000 (21:14 -0400)
commit1104a385fad779577ef702e8aee84840b871d8ed
tree76f32d813e775eda54eae68cf09cd72717d786cc
parentf5b2febf133fc559b406b406f6ac84fd8ca77b54
unlockDialog: only emit 'failed' on reset after failure/cancel

We currently emit "failed" any time the UserVerifier is reset,
and user verification didn't succeed prior.

A more conceptually clear time to emit "failed" would be if
the UserVerifier is reset and user verification failed prior,
and to emit "failed" if the user cancels unlock.

This commit restructures things to do that. Aside from being
more conceptually clear, it also lays the groundwork for us
to be able to reset the unlock screen without failing.

https://bugzilla.gnome.org/show_bug.cgi?id=683437
js/gdm/authPrompt.js
js/ui/unlockDialog.js